/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.upc.sma.agents;

import com.springrts.ai.oo.OOAI;
import com.springrts.ai.oo.OOAICallback;

/**
 *
 * @author xavi
 */
public class MyAgentsFactory extends com.springrts.ai.oo.OOAIFactory{

    /**
     * This could create a different AI depending on circumstances, but for
     * now only returns a new MySpringAgent
     * @param teamId
     * @param callback
     * @return
     */
    @Override
    public OOAI createAI(int teamId, OOAICallback callback) {
        return new MySpringAgent();
    }

}
